package com.example.bbook.services;

import com.example.bbook.util.PageTool;

import java.util.HashMap;

public interface CRUDServiceInterface<T> {
    HashMap<String, Object> findAll(PageTool pageConfig, T data);

    Boolean add(T data);

    Boolean deleteByIds(Integer[] ids);

    Boolean updateById(T data);
}
